package com.ruoyi.activity.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图书活动对象 activity
 * 
 * @author ruoyi
 * @date 2025-01-18
 */
public class Activity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String name;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String descr;

    /** 活动图片 */
    @Excel(name = "活动图片")
    private String img;

    /** 开始日期 */
    @Excel(name = "开始日期")
    private String start;

    /** 结束日期 */
    @Excel(name = "结束日期")
    private String end;

    /** 活动地点 */
    @Excel(name = "活动地点")
    private String location;

    /** 报名人数 */
    @Excel(name = "报名人数")
    private Long num;

    /** 活动详情 */
    private String content;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescr(String descr) 
    {
        this.descr = descr;
    }

    public String getDescr() 
    {
        return descr;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setStart(String start) 
    {
        this.start = start;
    }

    public String getStart() 
    {
        return start;
    }
    public void setEnd(String end) 
    {
        this.end = end;
    }

    public String getEnd() 
    {
        return end;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("descr", getDescr())
            .append("img", getImg())
            .append("start", getStart())
            .append("end", getEnd())
            .append("location", getLocation())
            .append("num", getNum())
            .append("content", getContent())
            .append("status", getStatus())
            .toString();
    }
}
